home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
msysjour
/
ms
/
s12315
/
paint.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-05-25
|
322b
|
24 lines
#define INCL_PM
#include <os2.h>
#include <stddef.h>
#include "hello.h"
HPS hNPS;
void HelloPaint(hWnd)
HWND hWnd;
{
POINTL pt;
RECTL rect;
hNPS = WinBeginPaint(hWnd,hNPS,NULL);
WinQueryWindowRect(hWnd,&rect);
WinFillRect(hNPS,&rect,CLR_WHITE); /* fill back ground */
WinEndPaint(hNPS);
}